import http from './http'


const getMemberCards = async () => {
        const res = await http.get('cards/')
        return res
    }

 const pay = async (id) => {
        const res = await http.post(`cards/${id}/pay/`)
        return res
    }
export default {
    getMemberCards,
    pay
}
